home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 015a / qw12inst.zip / TOPS.TEC < prev    next >
Text File  |  1991-03-12  |  10KB  |  175 lines

  1. ID:TP TOPS network, DESQView and QEMM 386
  2. by TOPS Corp. Technical Support #163
  3. April, 1989
  4.  
  5.                             OVERVIEW
  6.  
  7. DesqView is a multi-tasking windows environment for DOS-based
  8. machines, made by Quarterdeck Office Systems in Santa Monica, CA. 
  9. The current version (as of January, 1989) is 2.22.  It can be run
  10. on any machine running DOS 2.0 or higher, on an 8088, 8086,
  11. 80286, or 80386 microprocessor.  On 386-based machines, it is
  12. most commonly used in conjunction with Quarterdeck's 386 Expanded
  13. Memory Manager, QEMM-386, to form a combination generally
  14. referred to as DesqView386.  You can run DesqView on a 386
  15. without QEMM-386, but you lose significant memory-management
  16. capability, ending up with an environment virtually identical to
  17. DesqView on a 286, only faster.  The current version of QEMM-386
  18. (as of January, 1989) is 4.23.  Note that DesqView and QEMM-386
  19. are separate products which must be purchased separately, and can
  20. be used together, or independent of one another.  For the reason
  21. stated above, it is rare to find someone running DesqView on a
  22. 386 without QEMM-386.  However, for reasons which will become
  23. clear, many people who do not own DesqView buy and use QEMM-386
  24. as their 386 Expanded Memory Manager of choice.  In fact, we may
  25. wish to recommend QEMM-386 as a solution to TOPS/DOS users on 386
  26. machines who are having trouble running their applications in
  27. conventional RAM.
  28.  
  29. QEMM-386 has two major functions.  Firstly, it can transform a
  30. 386's standard 'extended' memory into 'expanded' memory (LIM EMS
  31. 4.0 and EEMS 3.2), which can then be accessed by programs
  32. designed to take advantage of expanded memory, as well as by
  33. DesqView, which can use it to create 'virtual' DOS environments
  34. for simultaneous operation of multiple programs.  Secondly, it
  35. can map RAM into the unused addresses between 640K and 1MB (so-
  36. called 'HIGH DOS RAM') and allow a user to load TSR modules (such
  37. as TOPS modules, for example) into it, thus making more
  38. 'conventional' RAM available to applications.  These two
  39. functions are optional, and can be managed independent of one
  40. another, but the first will have a significant impact on the
  41. second, for the following reason.  How much HIGH DOS RAM is
  42. available is a function of the particular machine architecture
  43. and attached peripherals (display adapter, etc.) AND of whether
  44. or not you invoke Expanded Memory Emulation.  Managing Expanded
  45. Memory requires a 64K page frame in HIGH DOS RAM.  (DesqView can
  46. perform many of its expanded memory operations without a page
  47. frame, but most applications that use expanded memory require the
  48. page frame to access it.) This function will therefore reduce the
  49. amount of HIGH DOS RAM available to TSRs by 64K.  Obviously, from
  50. the point of view of someone who merely wishes to get TOPS 'out
  51. of the way', it would be best to disable Expanded Memory
  52. Emulation.  But the price one pays is effectively rendering
  53. useless all that expensive Extended Memory with which one's 386
  54. is loaded.  This presents an interesting dilemma for someone
  55. running TOPS and QEMM-386 without DesqView.  Do they disable
  56. Expanded Memory Emulation, get as much as possible of TOPS into
  57. HIGH DOS RAM, and have the maximum amount of conventional RAM
  58. (but no Expanded RAM) available for their applications? Or,
  59. conversely, do they enable Expanded Memory Emulation, which
  60. forces them to put more of TOPS into conventional RAM, but makes
  61. Expanded RAM available to their applications? If you are running
  62. DesqView386, you get less benefit out of disabling Expanded
  63. Memory Emulation, since DesqView can use half of the page frame
  64. area anyway to clear its code out of conventional memory, and
  65. since certain DesqView features require a page frame.  
  66.  
  67. QEMM-386 consists, mainly, of a device driver (QEMM.SYS) and two
  68. command- line utilities (QEMM.COM and LOADHI.COM).  QEMM.SYS is
  69. loaded from CONFIG.SYS with a command of the form:
  70. DEVICE=[d:][path]QEMM.SYS [options].  If QEMM.SYS is installed,
  71. DesqView, when launched, will recognize it, and take advantage of
  72. the services it provides.  QEMM.SYS works by using the 'virtual
  73. 8086' mode of the 386 microprocessor to provide such services as
  74. Expanded Memory Emulation.  It has three possible 'states' in
  75. this regard - AUTO, ON and OFF.  AUTO means that Expanded Memory
  76. will be available only when a program needs it.  ON means it will
  77. always be available, and OFF means it is not available.  The
  78. default state (which can be set as an option to QEMM.SYS) is
  79. AUTO.  The current state can be checked and set using QEMM.COM. 
  80. The default state for Expanded Memory Emulation is enabled.  To
  81. disable it, add the option FRAME=NONE to QEMM.SYS.  HIGH DOS RAM
  82. Mapping is enabled by adding the option RAM to QEMM.SYS.  (Note
  83. that this forces the initial state to ON, and it cannot be
  84. overridden.) To load TSRs into this RAM, use the utility
  85. LOADHI.COM with a command of the form: LOADHI [d:][path]program. 
  86. There must be a contiguous section of high memory that is large
  87. enough to load the TSR, or LOADHI.COM returns an error, and loads
  88. the TSR into conventional RAM.  You can get a map of the first
  89. 1MB of RAM by entering the command QEMM without any parameters. 
  90. This will also return the current 'state' of QEMM.SYS, and the
  91. amount of Expanded Memory, if any.
  92.  
  93.                      DesqView386 AND TOPS
  94.  
  95. I recently tested DesqView386 2.2 (as well as QEMM-386 4.2 as a
  96. stand-alone memory manager) with TOPS/DOS 2.1 and NetPrint 2.0 on
  97. a Compaq386/20 with 2MB RAM, VGA, and Compaq DOS 3.31.  Results
  98. were uniformly excellent on both AppleTalk and Ethernet IF the
  99. basic rules of DesqView/QEMM/TOPS compatibility are followed.
  100.  
  101. Rule #1: Do not run DesqView on a TOPS Server.  There appears to
  102. be a basic incompatibility between DesqView and TOPS' Server
  103. functionality.  This applies not only to DesqView386, but also to
  104. DesqView on a 386 without QEMM- 386, as well as to DesqView on a
  105. 286, 8086 or 8088.  It is fine to have the full client/server
  106. software loaded, but if you have something published and someone
  107. tries to access it, you will have problems.  Usually, both client
  108. and server will eventually hang.  Note that I found no problem
  109. being a TOPS Server when just QEMM-386 was loaded and active,
  110. unless DesqView was loaded as well.  I did not test being a Print
  111. Server, but I would expect similar results.
  112.  
  113. Rule #2: The LAP driver must have DMA set to none if QEMM-386 is
  114. loaded and active ('state' is ON).  This is true in the case of
  115. ALAP and ELAP503, although the symptoms using ALAP are much more
  116. dramatic.  If ALAP is set to use DMA 1 or 3, and QEMM is ON, you
  117. will hang when you load TOPS or NetPrint.  If QEMM is AUTO, you
  118. will probably hang at some point after loading DesqView, or
  119. otherwise accessing Expanded Memory from an application.  The
  120. problems seem to take longer to develop when using ELAP503 with a
  121. DMA channel, but they were unavoidable.  Since the default for
  122. ELAP503 is DMA=0, this will not normally be a problem.  The rule
  123. of thumb is, if you are using QEMM-386, disable DMA.
  124.  
  125. Rule #3: With DesqView, configure the LAP driver to use a
  126. software access interrupt other than the default.  The default
  127. software access interrupt used by all the TOPS LAP modules is 5C. 
  128. We suggest configuring the driver to use some other interrupt,
  129. such as 60.  This can be most easily accomplished through the
  130. "CONFIGURE" option in the SETUP program.
  131.  
  132. Rule #4: Load TOPS and/or NetPrint BEFORE loading DesqView.  All
  133. TOPS and NetPrint functions can be executed from within DesqView
  134. EXCEPT for the actual loading of the memory resident modules.
  135.  
  136. When the above four rules were followed, all the TOPS network
  137. functions I tried worked flawlessly.  I was able to see network
  138. servers and printers, print to network devices, mount remote
  139. volumes, (and publish and act as a server, if DesqView was not
  140. loaded), do bi-directional copying between two machines, and run
  141. programs remotely, both from the command line in DOS with
  142. QEMM.SYS on, as well as from DOS Windows in DesqView.  You can
  143. even create a DesqView Program Information File for TOPSMENU and
  144. CONFIGUR, and run them in a DesqView Window.  In one interesting
  145. experiment, I modified the Program Information File for Microsoft
  146. Word 4.0 to run off drive D:, then I mounted a Macintosh folder,
  147. copied the contents of my Word subdirectory into it, launched
  148. Word remotely off the Mac drive, opened a Word document, edited
  149. it, saved it, and printed through NetPrint, all from within
  150. DesqView with QEMM.SYS active.  I was able to perform all these
  151. functions both with TOPS and NetPrint loaded in conventional RAM,
  152. as well as when various TOPS and NetPrint modules had been loaded
  153. into HIGH RAM with LOADHI.COM.
  154.  
  155. The same tests were performed with the previous version of
  156. DesqView, version 2.01, and its companion QEMM-386, version 4.1,
  157. with identical results, with one exception.  If you try to load a
  158. TSR with LOADHI.COM, and there is insufficient contiguous HIGH
  159. RAM available, LOADHI will inform you of the fact, and load the
  160. program into conventional RAM.  If this occurred with a TOPS
  161. module under QEMM-386 4.1, TOPS functions would no longer work. 
  162. It was necessary to LOADHI only those modules which would fit in
  163. HIGH RAM, and do a conventional load on the others.  This problem
  164. did not occur with QEMM-386 4.2.
  165.  
  166. It is important to keep in mind that different architectures and
  167. designs are employed in different 386-based machines.  This can
  168. sometimes result in different behavior from TOPS with 386
  169. Expanded Memory Managers on different machines.  We have seen the
  170. exact same programs and configurations work on one 386 machine,
  171. and fail on another.  In general, reports from the field have
  172. been uniformly positive regarding TOPS and DesqView386 when the
  173. above- mentioned rules are followed.
  174.  
  175.              * * * E N D  O F  F I L E * * *